﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PCUserTimer
{
    public static class ObjectFormatter
    {
        public static string Format(TimeSpan timeSpan)
        {
            return string.Format("{0}m {1:00}s", timeSpan.Minutes + 60 * (timeSpan.Hours + 24 * timeSpan.Days), timeSpan.Seconds);
        }
    }
}
